package com.histone.heartbeat.dao;

import com.histone.heartbeat.pojo.UrlEntity;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UrlDao extends CrudRepository<UrlEntity, String>{
    public List<UrlEntity> findAllByUserid(String userid);

    public void deleteByUserid(String userid);
}
